package com.cxria.pattern.observer.func1;

public class Client {

    public static void main(String[] args) {
        Subject subject = new ConcreteSubject();
        Observer observer = new ConcreteObserver();
        Observer observer2 = new ConcreteObserver();
        subject.addOberver(observer);
        subject.addOberver(observer2);
        subject.notifyObservers();
    }

}
